<%@ Register TagPrefix = "sstchur" Namespace = "sstchur.web.survey" Assembly = "sstchur.web.survey" %>
<%@ Page Language = "C#" Debug = "true"%>

<html>
  <head>    
    <style type = "text/css">
      body, table, td
      {
        font-family: arial;
        font-size: 12px;
        color: #336699;
      }
    </style>
  </head>
  
  <body bgcolor = "#ffffff">
    
    <table border = 0 cellpadding = 0 cellspacing = 0 width = 100% height = 100%>
      <tr valign = "top" align = "center">
        <td width = 100% height = 100%>  
          <table border = 0 cellpadding = 10 cellspacing = 0 width = 500 style = "border: solid 1px #000000;">
            <tr valign = "top" align = "left">
              <td>
								<center>
									<h2>WebSurvey Demo - Survey Results</h2>
								</center>								
								<p>Thank you for completing our survey.</p>								
								<p>The results of the survey (as generated by the SurveyResult Control) can be seen below.</p>
								<form runat = "server">								
									<sstchur:SurveyResult id = "srMySurvey"
									SurveyFile = "survey.xml"
									AnswersFile = "answers.xml"
									Stylesheet = "stylesheet.xsl"
									XQuery1 = "//WebSurvey/Group/Question"
									XQuery2 = "//Answers/AnswerSet/Answer"
									runat = "server"/>
								</form>								
								<p>Click <a href = "index.aspx">here</a> to return to the WebSurvey demo.</p>
                
              </td>
            </tr>
          </table>            
        </td>
      </tr>
    </table>
  </body>
</html>